<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="content-type" content="text/html; charset=UTF-8" />
<meta name="description" content="<? if(isset($AddDescription)) echo $AddDescription;?> Website Online" />
<meta name="keywords" content="<? if(isset($AddKeyWord)) echo $AddKeyWord;?>,online" />
<meta name="generator" content="BeYouCyber" />
<meta name="language" content="en-th" />
<meta name="publisher" content="Develope By BeYourCyber - MindWebHost.com" />
<meta name="robots" content="index, follow" />
<title><? if(isset($AddTitle)) echo $AddTitle;?></title>
<link href="/files/css/a:c:admincss:theme--a:c:admincss:style" rel="stylesheet" type="text/css" media="all" />
<link rel="stylesheet" type="text/css" href="/files/css/a:c:admincss:theme<?=$this->bee->getTheme()?>--a:c:bsprite:bsprite--a:c:bee" />
<? if(isset($AddHead{1})) echo $AddHead;?>
<?php if(isset($AddCss{1})){
   echo '<style type="text/css">
<!--';
   echo $AddCss;
   echo '-->
</style>';
}
?>

<!--[if IE]>
<link rel="stylesheet" type="text/css" href="./files/css/a:c:admincss:ie-sucks" />
<![endif]-->
</head>
<body<? if(isset($AddBody)) echo ' '.$AddBody;?>><?php
unset($AddDescription,$AddKeyWord,$AddTitle,$AddHead,$AddBody,$AddCss);
function checkThis($url,$thistab){
    if($thistab == $url) echo ' class="current"';
}
?>
<div id="container">
    	<div id="header">
        	<h2>Admin area</h2>
    <div id="topmenu">
            	<ul>
                	<li<?=checkThis($tab,'home')?>><?php echo anchor('admin/admin',$this->admin->lang("admin_system")->line('admin_system.dashboard'))?></li>
                        <li<?=checkThis($tab,'member')?>><?php echo anchor('member/admin',$this->admin->lang->line('admin_system.member'))?></li>
                    <?php
//                    $admin_page = $this->adminlib->get_admin_page();
//                    if($admin_page){
//                        foreach($admin_page as $k){
//                           echo '<li';
//                           checkThis($tab,$k['modulename']);
//                           echo '><a href="./'.$k['modulename'].'/admin/index">'.$k['modulename'].'</a></li>';
//
//                        }
//                    }
                    ?>

              </ul>
          </div>
      </div>
        <div id="top-panel">
            <div id="panel">
                <?php if(isset($headlink)) echo $headlink; ?>
            </div>
      </div>
        <div id="wrapper">
                        <div id="content">